how to get multiple inputs from user using scanf function